﻿

public class Request_GetUserMomentsInfo : RequestBase
{

    public const string Key = "GetUserMomentsInfo";

    public GetUserMomentsInfoRequestData getUserMomentsReqData = new GetUserMomentsInfoRequestData();

    protected override ISerialize requestData
    {
        get
        {
            return getUserMomentsReqData;
        }
    }

    public Request_GetUserMomentsInfo() : base()
    {
        MessagePacket.key = Key;
    }

    public override void OnSend()
    {
        base.OnSend();

        GameDebug.Log($"发送GetUserMomentsInfo请求");
    }

    public override ResponseData NewResponseData() => new GetUserMomentsInfoResponseData();

    //public override ResponseBase GetResponseHandler()
    //{
    //    return new Response_GetUserMomentsInfo();
    //}
}
//public class Response_GetUserMomentsInfo : ResponseBase
//{
//    public override ResponseData NewResponseData() => new GetUserMomentsInfoResponseData();

//    public override void Excuate()
//    {
//        //GameDebug.LogShowy("Request_GetUserMomentsInfo -> Excuate");

//        (this.request as Request_GetUserMomentsInfo)?.onResponse?.Invoke(this);
//    }
//}
